#ifndef IMAGECONTAINER_H
#define IMAGECONTAINER_H

#include <QWidget>

namespace Haha
{
class DisplayItem;
class ImageContainerPrivate;
class ImageContainer : public QWidget
{
    Q_OBJECT
public:
    explicit ImageContainer(QWidget *parent = 0);
    ~ImageContainer();

public slots:
    void addItem(DisplayItem* item);
    void clear();

protected:
    void resizeEvent(QResizeEvent *e);
    QSize sizeHint() const;

private:
    ImageContainerPrivate* d_ptr;
    Q_DISABLE_COPY(ImageContainer)
};

} // namespace haha
#endif // IMAGECONTAINER_H
